package com.sbwebsocket.core.service;


import com.sbwebsocket.core.model.bo.NormalMessageBody;

/**
 * @Auther: GSJ
 * @Date: 2022/2/10
 * @Description:
 * @version: 1.0
 */
public interface MessageQueue<T extends NormalMessageBody> {
    /**
     * 消息投递到中间件
     * todo: 返回值无冒似无意义
     * @param messageBody
     * @return
     */
    boolean delivery(T messageBody);
}
